package com.sc.nft.admin.request;

import com.sc.nft.entity.req.EditConfigureTheMeltingMode;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @Author：LiGen
 * @Package：com.sc.nft.admin.request
 * @Project：sc_metago
 * @name：AddConfigureTheMeltingModeReq
 * @Date：2024/6/11 15:25
 * @Filename：AddConfigureTheMeltingModeReq
 */
@Data
public class EditConfigureTheMeltingModeReq {

    @ApiModelProperty("熔炼配置id")
    private Long ecologyHatchId;

    @ApiModelProperty("是否消耗共识")
    private Boolean consumptionConsensus;

    @ApiModelProperty("熔炼方式列表")
    @NotNull(message = "熔炼方式不能为空")
    @Size(min = 1, message = "熔炼方式不能为空")
    private List<EditConfigureTheMeltingMode> configureTheMeltingModeVOList;

}
